Bump SonarAnalyzer.CSharp from 8.22.0.31243 to 10.17.0.131074 #201
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated SonarAnalyzer.CSharp from 8.22.0.31243 to 10.17.0.131074.
Release notes
Sourced from SonarAnalyzer.CSharp's releases.
10.17
False Negative
Task
New Feature
Bug
Improvement
10.16.2
Rotations of binary signing keys
10.16.1
Rotations of binary signing keys
10.16
False Positive
False Negative
Bug
10.15
False Positive
IEnumerable<string?>toIEnumerable<string>Improvement
False Negative
Task
10.14
Hey everyone,
This release mostly focuses on mitigating (NET-2196) a performance regression that was introduced in 10.13.
Improvement
False Negative
Task
10.13
Hello everyone,
In this release, we've focused on:
False Positives
dynamicandoutshould not raiseImprovements
10.12
This release brings the VB version of S6418 and a few FP and FN fixes.
New Rule
False Positive
False Negative
Task
10.11
Hello everyone!
In this release we fixed a bunch of false positives and false negatives.
Additionally this version adds support for telemetry in order to gather information on feature usage. Telemetry, requires scanner 10.2.0 or greater.
False Positive
password:secretFalse Negative
10.10.1
Bugfix release to fix combability with SonarQube Cloud + a simplification to the
ProfileRegistrarTask
10.10
Hey everyone, this release mostly focuses on internal and technical things.
General
Internal Styling Rules
10.9
Hello everyone!
This is a mega-hardening release! Enjoy 😄
False Positive
False Negative
launchSettings.jsonfilesBug
Improvement
10.8
A small release with a few improvements for S1172, S2222 and S4158:
False Positive
False Negative
10.7
Improvement
Bug
10.6
Improvement
10.5
### Improvement
10.4
Improvements
In this release, we have added support for test density and metrics at the individual file level. You can now view the number of unit tests, as well as details on skipped tests, failed tests, and test duration, from all supported coverage tools (xUnit, MsTest, and nUnit).
Additionally, we have significantly optimized memory allocation, resulting in memory usage reduction during registration.
False Positive
False Negative
Task
10.3
False Positive
Other
10.2
New Rules
Improvement
False Positive
False Negative
10.1
False Negative
10.0
New rule
False negatives
False positives
Bug
Improvements
9.32
This rule includes the promotion of 4 rules to Sonar-way, the deprecation of 1 rule and 2 FP fixes.
Rule Promotions and Deprecations
False Positive
9.31
This release focuses on improving the SonarQube plugin for the .NET analyzers.
Improvements
9.30
Hello, everyone. In this release, we worked on hardening our live variable analysis, which improved the analyzer's accuracy.
False Positives
9.29
This release includes a lot of false positive and false negative fixes.
Improvements
asFalse Positive
DeconstructmethodsFalse Negative
9.28
False Positive
DynamicallyAccessedMembersattributecatchorwhenshould LiveIn for all try blocksFalse Negative
9.27
This release includes a ton of false positive and false negative fixes. We would also like to thank @sagi1623 for his contribution in #8464, which fixed three issues 🚀.
Improvements
False Positive
refpropertyFalse Negative
~/9.26
New Rules
Bug Fixes
Improvements
False Positive
IRouteTemplateProvideror inheriting from RouteAttributeFalse Negative
9.25.1
The latest Roslyn compiler version changes the way Razor files are compiled, and this hotfix release takes care of these changes. For more information check this issue.
Bug Fixes
9.25
Hello everyone,
This release comes with seven new rules for ASP.NET core alongside some improvements.
Enjoy!
New Rules
Bug Fixes
False Positive
Improvements
Rule deprecations and deletions
9.24
Hey everyone,
This release contains one new ASP.NET Rule (S6961) and several general improvements and fixes. Enjoy!
Improvements
Bug Fixes
False Positive
False Negative
9.23.2
Hello, everyone!
Today we are doing a bug fix release that also addresses a couple of false positives. We deprecated VB support for S6931 and removed the rule from the "Sonar Way" quality profile for VB.
Special thanks to @Corniel for fixing #9019!
Bug fix
Improvements
False Positive
PropertyReferencedoes not learn from the underlying symbol9.23.1
Bug Fixes
False Positive
9.23
Hello everyone!
This release comes with two new rules for ASP.NET, false positive fixes, and other improvements.
A big thank you to @Corniel for their external contribution with #8898!
New Rules
False Positives
Other improvements and fixes
Array.Find!when transformingx == false.9.22
New Rules
private static readonly[Non-SonarWay]False Positive
9.21
New Rules
Improvements
Bug Fixes
False Positive
9.20
Hey everyone!
This release brings a vast number of improvements. The main focus lies on improving the capabilities of our Symbolic Execution engine, which results in much more accurate findings. The biggest visible impact is a significant reduction in false positives around loops for the rules S2583 and S2589.
And a big thank you to @rcatley for their external contribution!
Bug Fixes
SonarAnalyzer.Rules.CSharp.SymbolicExecutionRunnerFalse Positive
False Negative
Improvements
9.19
Hello,
small release to enhance the deprecation warning before SonarQube v.10.4, explicitly notifying users analyzing with MSBuild 14 that it's no longer supported while maintaining the deprecation status for MSBuild 15.
Furthermore, we've also introduced three improvements to our rules:
Improvements
setandinitand empty local functions9.18
Hi everyone!
This release focuses on fixing false positives and on general improvements that will be included in the upcoming SonarQube 10.4.
False Positive
Improvements
9.17
Hi everyone!
We are shipping some more improvements to our Symbolic Execution rules reducing the number of false positives.
False Negatives
False Positive
9.16
Hello everyone!
For this release, we focused on improving the symbolic execution engine, specifically rules S2589 and S2583, to increase their accuracy.
We also deprecated rule S4792.
False Positive
doubleconditionImprovements
9.15
Hello everyone,
This release focuses on performance improvement.
We made several changes to how we register our rules for analysis.
Based on our measurement, we improve the build time by 5% to 15%, depending on project size and complexity! 🔥 🚀
Fixes
@typeparamare misplacedImprovements
False Positive
Performance
HasMatchingScopefor SyntaxNode registrationFileMetadataAnalyzerandUtilityAnalyzerBaseshould useIsGeneratedfromSyntaxTreeExtensionsShouldGenerateMetrics9.14
Hello everyone!
We are happy to announce that we now have 5 dedicated Blazor rules 🚀 🥳
Special thanks to our contributor (and former colleague) @sagi1623 for fixing SonarSource/sonar-dotnet#8302.
Improvements
Bug Fixes
False Positive
False Negative
Performance
9.13
Hello everyone!
We are happy to announce that we now officially support .Net 8 and C# 12 🚀 🥳
Special thanks to our contributor (and former colleague) @sagi1623 for fixing #8152.
Due to some technical problems, we could not sign the NuGet packages and we did not push them to nuget.org.
Improvements
Bug Fixes
False Positive
False Negative
_De...
Description has been truncated